<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="Pragma" content="no-cache" />
		<title>我的易安</title>
		<%@ include file="/user_comm.jsp"%>
		<link rel="stylesheet"
			href="http://a.tbcdn.cn/apps/sell/1.0/publish_detail_ke.css?t=20110128editor.css" />
		<link href="<%=request.getContextPath()%>/css/prop.css"
			type="text/css" rel="stylesheet" />
		<!-- script start -->
		<script src="<%=request.getContextPath()%>/js/dept.js" language="JavaScript"></script>
		<!-- script end -->
	</head>
	<body>
		<%@ include file="/user_top.jsp"%>
		<div class="realCer">
			<!--导航-->
			<!--主体部分start-->
			<div class="realMain clearfix mt10">
				<%@ include file="/user_menu.jsp"%>
				<div class="realRight ml10 Buyer">
					<div class="mybox">
						<div class="mytit">
							<s:if test="#request.dept == null ">
							新增部门
						</s:if>
							<s:else>
							修改部门
						</s:else>
						</div>
						<div class="con Orbuy">
							<div class="reg_box">
								<div class="reg_form">
									<s:form name="formpage" id="formpage" action="dept_save" namespace="/">
										<s:token>
										</s:token>
										<%@ include file="/messages.jsp"%>
										<s:hidden id="hdfId" name="dept.id"	value="%{#request.dept.id}" />
										<dl>
											<dd class="clearfix">
												<em class="lab">部门名称:</em>
												<span class="at_text t_1_d"> <input id="deptName"
														name="dept.deptName" type="text" value="${dept.deptName }"
														maxlength="20" size="15" class="required" /> </span>
											</dd>
											<dd class="clearfix">
												<em class="lab">部门电话:</em>
												<span class="at_text t_1_d"> <input name="dept.phone" id="phone"
														type="text" value="${dept.phone }" maxlength="30"
														size="25" /> </span>
											</dd>
											<dd class="clearfix">
												<em class="lab">备&nbsp;&nbsp;&nbsp;&nbsp;注:</em>
												<span class="at_text t_1_d"> <input id="remark"
														name="dept.remark" type="text" value="${dept.remark }"
														maxlength="30" size="25" /> </span>
											</dd>
											<dd class="clearfix">
												<em class="lab"></em>
												<a href="javascript:void(0);" class="at_but b_1_y"
													id="reg_sub"><u></u>确认</a>
												<a href="javascript:javascript:history.go(-1);"
														class="at_but b_1_y" id="reg_sub"><u></u>取消</a>
											</dd>
										</dl>
									</s:form>
								</div>
							</div>
						</div>
					</div>
					<div>
					</div>
					<!--主体部分end-->
				</div>
			</div>
		</div>
		<!--底部 start-->
		<%@ include file="/user_button.jsp"%>
		<!--底部end-->
		<script type="text/javascript">
			new dept();
		</script>
	</body>
</html>
